package com.yangyao.microserviceoauth2.authority.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yangyao.microserviceoauth2.authority.entity.Permission;

import java.util.List;

/**
 * 权限表
 *
 * @author yangyao
 * @email 742425545@qq.com
 * @date 2019-12-06 16:36:39
 */
public interface PermissionService extends IService<Permission> {

    List<Permission> getPermissionsByUserId(Long userId);
}

